package com.ruyiadmin.springboot.entity_data_model.data_transformation_model.system_model;

import com.ruyiadmin.springboot.entity_data_model.entity_model.system_model.SysArea;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 行政区域DTO模型
 *
 * @author RuYiAdmin
 * @since 2022-07-17
 */
@Data
@ApiModel(value = "SysAreaDTO对象", description = "行政区域")
@NoArgsConstructor
@AllArgsConstructor
public class SysAreaDTO extends SysArea {
    @ApiModelProperty("行政区域子集")
    private List<SysAreaDTO> children;
}
